public class Test {
    public static void main(String[] args) {
        BinarySearchTree<Integer> binarySearchTree = new BinarySearchTree<>();
        int[] arr = {5,8,6,1,7,4,3};
        for(int x : arr) {
            binarySearchTree.add(x);
        }
        for(int x : arr) {
            System.out.println(binarySearchTree.get(x));
        }
        System.out.println(binarySearchTree.get(88));


        for(int x : arr) {
            System.out.println(binarySearchTree.remove(x));
        }
    }
}
